package com.wsjc.manager.entity;

import java.util.Date;

/**
 * 
 * @Description 用户表 
 * @ClassName   WjUser 
 * @Date        2018年7月22日 下午6:05:08 
 * @Author      liyang 
 *
 */

public class WjUser {
	
	/** 主键 */
    private String id;

    /** 用户名 */
    private String username;

    /** 密码 */
    private String password;

    /** 昵称 */
    private String nickname;

    /** 电话号 */
    private String phone;

    /** 用户类别   PS : 卫生局管理员类型 ：1 全国管理员，2 省级管理员  3市级管理员 4区级管理员 5医疗集团管理员 */
    private String type;

    /** 邮箱 */
    private String email;

    /** 用户状态 */
    private String status;

    /** 创建时间 */
    private Date createTime;

    /** 管辖范围ID */
    private String scope;

    /** 正副级 Ps : 1 正级 ， 2副级 */
    private String level;

    /** 卫监单位ID */
    private String employersId;
    
    /** 卫监单位名称 */
    private String employersName;

    /** 主键 医疗集团ID */
    private String healthcareId;

    /** 修改时间 */
    private Date editTime;

    /** 版本信息 */
    private int version = 0;
    
    /** old id */
    private String oldId;
    
    public WjUser(String id, String username, String password, String nickname, String phone, String type, String email, String status, Date createTime, String scope, String level, String employersId, String healthcareId, Date editTime, int version) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.nickname = nickname;
        this.phone = phone;
        this.type = type;
        this.email = email;
        this.status = status;
        this.createTime = createTime;
        this.scope = scope;
        this.level = level;
        this.employersId = employersId;
        this.healthcareId = healthcareId;
        this.editTime = editTime;
        this.version = version;
    }

    public WjUser() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope == null ? null : scope.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public String getEmployersId() {
        return employersId;
    }

    public void setEmployersId(String employersId) {
        this.employersId = employersId == null ? null : employersId.trim();
    }

    public String getHealthcareId() {
        return healthcareId;
    }

    public void setHealthcareId(String healthcareId) {
        this.healthcareId = healthcareId == null ? null : healthcareId.trim();
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

	public String getOldId() {
		return oldId;
	}

	public void setOldId(String oldId) {
		this.oldId = oldId;
	}

	public String getEmployersName() {
		return employersName;
	}

	public void setEmployersName(String employersName) {
		this.employersName = employersName;
	}

	@Override
	public String toString() {
		return "WjUser [id=" + id + ", username=" + username + ", password=" + password + ", nickname=" + nickname
				+ ", phone=" + phone + ", type=" + type + ", email=" + email + ", status=" + status + ", createTime="
				+ createTime + ", scope=" + scope + ", level=" + level + ", employersId=" + employersId
				+ ", employersName=" + employersName + ", healthcareId=" + healthcareId + ", editTime=" + editTime
				+ ", version=" + version + ", oldId=" + oldId + "]";
	}

	
    
  
}